package com.wise.summer.v1.cms.content.regions;

import com.wise.entities.content.Region;
import com.wise.framework.annotations.ApiInfo;
import com.wise.framework.annotations.EnumField;
import com.wise.framework.annotations.Publish;
import com.wise.framework.annotations.SkipUserAuth;
import com.wise.framework.restful.PageParamGitHub;
import com.wise.framework.restful.PageResultList;
import com.wise.model.content.enums.RegionLevel;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Publish
@SkipUserAuth
@ApiInfo("根据条件查询相应区域列表")
public class ListRegions extends PageParamGitHub<PageResultList<Region>> {
    @ApiInfo("编码")
    private String code;
    @ApiInfo("等级")
    @EnumField(enumClass = RegionLevel.class)
    private Integer level;
}
